-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
FlowSwitch`1.xml
223 lines (205 loc) · 14.8 KB
/
FlowSwitch`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<Type Name="FlowSwitch<T>" FullName="System.Activities.Statements.FlowSwitch<T>">
<TypeSignature Language="C#" Value="public sealed class FlowSwitch<T> : System.Activities.Statements.FlowNode" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit FlowSwitch`1<T> extends System.Activities.Statements.FlowNode" />
<TypeSignature Language="DocId" Value="T:System.Activities.Statements.FlowSwitch`1" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class FlowSwitch(Of T)
Inherits FlowNode" />
<TypeSignature Language="F#" Value="type FlowSwitch<'T> = class
 inherit FlowNode" />
<TypeSignature Language="C++ CLI" Value="generic <typename T>
public ref class FlowSwitch sealed : System::Activities::Statements::FlowNode" />
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="T" />
</TypeParameters>
<Base>
<BaseTypeName>System.Activities.Statements.FlowNode</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Windows.Markup.ContentProperty("Cases")]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Markup.ContentProperty("Cases")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<typeparam name="T">The type of the expression to evaluate against cases.</typeparam>
<summary>A specialized <see cref="T:System.Activities.Statements.FlowNode" /> that allows modeling a switch construct, with one expression and one outcome for each match.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code sample demonstrates creating a <xref:System.Activities.Statements.FlowSwitch%601> node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet5":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public FlowSwitch ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Statements.FlowSwitch`1.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 FlowSwitch();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Creates a new instance of the <see cref="T:System.Activities.Statements.FlowSwitch`1" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code sample demonstrates creating a <xref:System.Activities.Statements.FlowSwitch%601> node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet5":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Cases">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IDictionary<T,System.Activities.Statements.FlowNode> Cases { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IDictionary`2<!T, class System.Activities.Statements.FlowNode> Cases" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.FlowSwitch`1.Cases" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Cases As IDictionary(Of T, FlowNode)" />
<MemberSignature Language="F#" Value="member this.Cases : System.Collections.Generic.IDictionary<'T, System.Activities.Statements.FlowNode>" Usage="System.Activities.Statements.FlowSwitch<'T>.Cases" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Collections::Generic::IDictionary<T, System::Activities::Statements::FlowNode ^> ^ Cases { System::Collections::Generic::IDictionary<T, System::Activities::Statements::FlowNode ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IDictionary<T,System.Activities.Statements.FlowNode></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a dictionary of cases to be processed by the <see cref="T:System.Activities.Statements.FlowSwitch`1" /> element.</summary>
<value>The collection of cases.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Each element in the dictionary consists of an object of the generic type specified in <xref:System.Activities.Statements.FlowSwitch%601.%23ctor%2A> and a corresponding <xref:System.Activities.Statements.FlowNode> to execute.
## Examples
The following code sample demonstrates setting the Cases property of a <xref:System.Activities.Statements.FlowSwitch%601> node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet5":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Default">
<MemberSignature Language="C#" Value="public System.Activities.Statements.FlowNode Default { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Activities.Statements.FlowNode Default" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.FlowSwitch`1.Default" />
<MemberSignature Language="VB.NET" Value="Public Property Default As FlowNode" />
<MemberSignature Language="F#" Value="member this.Default : System.Activities.Statements.FlowNode with get, set" Usage="System.Activities.Statements.FlowSwitch<'T>.Default" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Activities::Statements::FlowNode ^ Default { System::Activities::Statements::FlowNode ^ get(); void set(System::Activities::Statements::FlowNode ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.DefaultValue(null)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue(null)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.Statements.FlowNode</ReturnType>
</ReturnValue>
<Docs>
<summary>The <see cref="T:System.Activities.Statements.FlowNode" /> to be executed if no elements in the <see cref="P:System.Activities.Statements.FlowSwitch`1.Cases" /> collection match the result of the evaluation of the <see cref="P:System.Activities.Statements.FlowSwitch`1.Expression" />.</summary>
<value>The default <see cref="T:System.Activities.Statements.FlowNode" /> to execute.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code sample demonstrates setting the Default property of a <xref:System.Activities.Statements.FlowSwitch%601> node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet5":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DisplayName">
<MemberSignature Language="C#" Value="public string DisplayName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string DisplayName" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.FlowSwitch`1.DisplayName" />
<MemberSignature Language="VB.NET" Value="Public Property DisplayName As String" />
<MemberSignature Language="F#" Value="member this.DisplayName : string with get, set" Usage="System.Activities.Statements.FlowSwitch<'T>.DisplayName" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ DisplayName { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.ComponentModel.DefaultValue("Switch")]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue("Switch")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the name of this flow switch to be displayed in the activity designer.</summary>
<value>The name of the flow switch.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Expression">
<MemberSignature Language="C#" Value="public System.Activities.Activity<T> Expression { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Activities.Activity`1<!T> Expression" />
<MemberSignature Language="DocId" Value="P:System.Activities.Statements.FlowSwitch`1.Expression" />
<MemberSignature Language="VB.NET" Value="Public Property Expression As Activity(Of T)" />
<MemberSignature Language="F#" Value="member this.Expression : System.Activities.Activity<'T> with get, set" Usage="System.Activities.Statements.FlowSwitch<'T>.Expression" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Activities::Activity<T> ^ Expression { System::Activities::Activity<T> ^ get(); void set(System::Activities::Activity<T> ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.DefaultValue(null)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue(null)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.Activity<T></ReturnType>
</ReturnValue>
<Docs>
<summary>The expression to evaluate against the collection of <see cref="P:System.Activities.Statements.FlowSwitch`1.Cases" />.</summary>
<value>The expression to evaluate.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code sample demonstrates setting the Expression property of a <xref:System.Activities.Statements.FlowSwitch%601> node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet5":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>